<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
  </head>
  
  <body>
  
  	<c:choose>
  		<c:when test="${param.code == 10001}">
  			<div style="color:red">用户名或密码错误</div>
  		</c:when>
  	</c:choose>
  
	  
  	<h3>系统登录</h3>
 	<form action="login.jspx" method="post">
 		用户名: <input type="text" name="username" /><br/>
 		密码：<input type="password" name="password"/><br/>
 		<input type="submit" value="进入系统"/>
 	</form>
 	<img alt="" src="static/img/1.jpg">
 	
 	
 	
 	
 	
 	
 	
 	
 	
  </body>
</html>
